import http from "../../http.config.js"

const lifeMilestone = {
    add: (params: any) => http.post('/base/lifeMilestones/add', params),
    list: (params: any) => http.get('/base/lifeMilestones/list', params),
    // edit: (params: any) => http.put('/base/yearlyFortune/edit', params),
    delete: (params: any) => http.delete(`/base/lifeMilestones/${params}`),
    life_milestones_type: (params: any) => http.get(`/system/dict/data/type/${params}`),
    clean: () => http.delete('/base/lifeMilestones/clean')
}

export default lifeMilestone;